package zaphod.toy.gef.japanexample.model;

import org.eclipse.draw2d.geometry.Rectangle;


public class HelloModel extends AbstractModel
{
    public static final String P_CONSTANT = "_constraint";
    private String text = "Hello World";
    private Rectangle constraint = new Rectangle();


    public String getText()
    {
        return text;
    }


    public void setText( String text )
    {
        this.text = text;
    }


    public Rectangle getConstraint()
    {
        return constraint;
    }


    public void setConstraint( Rectangle contstraint )
    {
        this.constraint = contstraint;
        firePropertyChange( P_CONSTANT, null, contstraint );
    }

}
